ACFWF\Models\Cart_Conditions C

Total Complexity 112
Dependencies 7
Dependents 10
Total lines 786
Lines of code 397
Logical lines of code 191
Comment lines 280
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
_sanitize_condition_field()
B
42 22 46
ajax_save_cart_conditions()
A
44 15 37
_get_product_category_condition_field_value()
A
45 12 38
implement_cart_conditions()
A
51 9 23
display_cart_condition_notice()
A
56 9 15
_get_cart_condition_notice()
S
57 8 14
condition_fields_localized_data()
S
37 1 93
_get_condition_group_value()
S
55 5 18
_get_cart_subtotal_condition_field_value()
S
60 4 11
sanitize_cart_conditions()
S
58 3 17
_get_customer_user_role_condition_field_value()
S
64 4 9
_get_disallowed_customer_user_role_condition_field_value()
S
64 4 9
_get_cart_quantity_condition_field_value()
S
60 2 14
initialize()
S
70 2 6
run()
S
65 2 8
get_product_category_options()
S
65 2 8
_get_customer_logged_in_status_condition_field_value()
S
75 2 4
_sanitize_condition_group()
S
69 2 7
save_cart_condition_notice_settings()
S
70 1 6
is_cart_item_valid()
S
74 1 4
save_cart_conditions()
S
72 1 5
__construct()
S
72 1 5